ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats.XMP Namespace / ImGearXMPArray<T> Class / Item Property
The zero-based index of the element to get or set.




In This Topic
    Item Property (ImGearXMPArray<T>)
    In This Topic
    Gets or sets the element at the specified index.
    Syntax
    'Declaration
     
    Public Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    Dim instance As ImGearXMPArray(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public T this[ 
       int index
    ]; {get; set;}
    public: __property T* get_Item   int index
    ;
    public: __property void set_Item   int index,
       T* value
    ;
    public:
    property T^ default [int] {
       T^ get(int index);
       void set (int indexT^ value);
    }

    Parameters

    index
    The zero-based index of the element to get or set.

    Property Value

    The element at the specified index.
    Exceptions
    ExceptionDescription

    index is less than 0.

    -or-

    index is greater than Count.

    See Also